/**
 * 
 */
package io.dora.base;

import io.dora.rpc.RpcInvocation;
import io.dora.rpc.RpcRequest;

/**
 * 服务过滤器
 * 
 * @author zhaohongbo
 *
 */
public interface ServiceFilter {
	
	/**
	 * 调用链过滤
	 * 
	 * @param request    RPC请求实例
	 * @param invocation 调用上下文
	 * @return
	 */
	boolean doFilter(RpcRequest request, RpcInvocation invocation);
}
